package com.example.sharding.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author Steven
 * @date 2021-06-18
 */
@Getter
@Setter
@ToString
@TableName("course")
public class Course {

    @TableId("cid")
    private Long cid;

    @TableField("cname")
    private String cname;

    @TableField("user_id")
    private Long userId;

    @TableField("cstatus")
    private String cstatus;
}
